package com.socket.chat;
import java.io.Serializable;


public class DeviceAddressBean implements Serializable{

	
	private String deviceId;
	
	private int x;
	
	private int y;
	
	private int areaId;
	
	private int z;
	
	private  int state;
	
	private int deviceType;
	
	private long time;

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}



	@Override
	public String toString() {
		return "DeviceAddressBean [deviceId=" + deviceId + ", x=" + x + ", y="
				+ y + ", areaId=" + areaId + ", z=" + z + ", state=" + state
				+ ", deviceType=" + deviceType + ", time=" + time + "]";
	}
	
public DeviceAddressBean() {
	// TODO Auto-generated constructor stub
}


public int getZ() {
	return z;
}

public void setZ(int z) {
	this.z = z;
}

public int getState() {
	return state;
}

public void setState(int state) {
	this.state = state;
}

public int getDeviceType() {
	return deviceType;
}

public void setDeviceType(int deviceType) {
	this.deviceType = deviceType;
}

public long getTime() {
	return time;
}

public void setTime(long time) {
	this.time = time;
}

public int getAreaId() {
	return areaId;
}

public void setAreaId(int areaId) {
	this.areaId = areaId;
}

public DeviceAddressBean(String deviceId, int x, int y, int areaId, int z,
		int state, int deviceType, long time) {

	this.deviceId = deviceId;
	this.x = x;
	this.y = y;
	this.areaId = areaId;
	this.z = z;
	this.state = state;
	this.deviceType = deviceType;
	this.time = time;
}


	
}
